﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using Quanlybanhang_pro202.Module;


namespace Quanlybanhang_pro202.Control
{
    class Taikhoan_Control
    {
        public DataSet Login(string tendangnhap, string matkhau)
        {
            Taikhoan tk = new Taikhoan();
            return tk.Login(tendangnhap, matkhau);
        }
        public DataSet GetAllUser()
        {
            Taikhoan tk = new Taikhoan();
            return tk.GetAllUser();
        }
        public DataSet GetMember()
        {
            Taikhoan tk = new Taikhoan();
            return tk.GetMember();
        }
    }
}
